package com.tc.gateway.event;

import com.tc.util.DataUtil;

public class AttributeReadEvent extends Event{
	byte[] ieeeAddress;
	
	public byte[] getIeeeAddress() {
		return ieeeAddress;
	}
	public void setIeeeAddress(byte[] ieeeAddress) {
		this.ieeeAddress = ieeeAddress;
	}
	public byte getEndpoint() {
		return endpoint;
	}
	public void setEndpoint(byte endpoint) {
		this.endpoint = endpoint;
	}
	public short getCluster() {
		return cluster;
	}
	public void setCluster(short cluster) {
		this.cluster = cluster;
	}
	public String getDeviceId(){
		return DataUtil.hex(ieeeAddress) + DataUtil.hex(endpoint);
	}
	byte endpoint;
	short cluster;
	
}
